package com.zz.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zz.dao.OrderDao;
import com.zz.entity.Orders;
import com.zz.service.OrdersService;

@Service
public class OrdersServiceImpl implements OrdersService {
      
	@Autowired
	  OrderDao od;
	 //查询所有订单           
		public List<Orders> queryAllOrder(){
			
		         return	od.queryAllOrder();
		}
}
